go.uber.org/zap/zapcore.sliceArrayEncoder.elems (field)
55 uses
go.uber.org/zap/zapcore (current package)
console_encoder.go#L33: elems: make([]interface{}, 0, 2),
console_encoder.go#L42: e.elems = e.elems[:0]
console_encoder.go#L104: for i := range arr.elems {
console_encoder.go#L108: fmt.Fprint(line, arr.elems[i])
memory_encoder.go#L46: arr := &sliceArrayEncoder{elems: make([]interface{}, 0)}
memory_encoder.go#L48: m.cur[key] = arr.elems
memory_encoder.go#L138: elems []interface{}
memory_encoder.go#L144: s.elems = append(s.elems, enc.elems)
memory_encoder.go#L151: s.elems = append(s.elems, m.Fields)
memory_encoder.go#L156: s.elems = append(s.elems, v)
memory_encoder.go#L160: func (s *sliceArrayEncoder) AppendBool(v bool) { s.elems = append(s.elems, v) }
memory_encoder.go#L161: func (s *sliceArrayEncoder) AppendByteString(v []byte) { s.elems = append(s.elems, string(v)) }
memory_encoder.go#L162: func (s *sliceArrayEncoder) AppendComplex128(v complex128) { s.elems = append(s.elems, v) }
memory_encoder.go#L163: func (s *sliceArrayEncoder) AppendComplex64(v complex64) { s.elems = append(s.elems, v) }
memory_encoder.go#L164: func (s *sliceArrayEncoder) AppendDuration(v time.Duration) { s.elems = append(s.elems, v) }
memory_encoder.go#L165: func (s *sliceArrayEncoder) AppendFloat64(v float64) { s.elems = append(s.elems, v) }
memory_encoder.go#L166: func (s *sliceArrayEncoder) AppendFloat32(v float32) { s.elems = append(s.elems, v) }
memory_encoder.go#L167: func (s *sliceArrayEncoder) AppendInt(v int) { s.elems = append(s.elems, v) }
memory_encoder.go#L168: func (s *sliceArrayEncoder) AppendInt64(v int64) { s.elems = append(s.elems, v) }
memory_encoder.go#L169: func (s *sliceArrayEncoder) AppendInt32(v int32) { s.elems = append(s.elems, v) }
memory_encoder.go#L170: func (s *sliceArrayEncoder) AppendInt16(v int16) { s.elems = append(s.elems, v) }
memory_encoder.go#L171: func (s *sliceArrayEncoder) AppendInt8(v int8) { s.elems = append(s.elems, v) }
memory_encoder.go#L172: func (s *sliceArrayEncoder) AppendString(v string) { s.elems = append(s.elems, v) }
memory_encoder.go#L173: func (s *sliceArrayEncoder) AppendTime(v time.Time) { s.elems = append(s.elems, v) }
memory_encoder.go#L174: func (s *sliceArrayEncoder) AppendUint(v uint) { s.elems = append(s.elems, v) }
memory_encoder.go#L175: func (s *sliceArrayEncoder) AppendUint64(v uint64) { s.elems = append(s.elems, v) }
memory_encoder.go#L176: func (s *sliceArrayEncoder) AppendUint32(v uint32) { s.elems = append(s.elems, v) }
memory_encoder.go#L177: func (s *sliceArrayEncoder) AppendUint16(v uint16) { s.elems = append(s.elems, v) }
memory_encoder.go#L178: func (s *sliceArrayEncoder) AppendUint8(v uint8) { s.elems = append(s.elems, v) }
memory_encoder.go#L179: func (s *sliceArrayEncoder) AppendUintptr(v uintptr) { s.elems = append(s.elems, v) }
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |